Skip to content

Implement wrapper method of issue_stateless_channel_token#981

Merged
habara-k merged 3 commits intomasterfrom
wrapper-of-issue-stateless-channel-token
Apr 3, 2026
Merged

Implement wrapper method of issue_stateless_channel_token#981
habara-k merged 3 commits intomasterfrom
wrapper-of-issue-stateless-channel-token

Conversation

@habara-k
Copy link
Copy Markdown
Contributor

@habara-k habara-k commented Apr 1, 2026

Summary

  • Add convenience wrapper methods issue_stateless_channel_token_by_jwt_assertion() and issue_stateless_channel_token_by_client_secret()
  • The stateless token API has two authentication patterns (oneOf), but the generated issue_stateless_channel_token() merges them into a single method where all parameters are required. Previously, users had to pass empty strings for unused parameters. These wrappers auto-fill them.

Test plan

  • tests/api/test_issue_stateless_channel_token.py — verifies correct form parameters are sent for each authentication pattern

Resolves #823

@habara-k habara-k closed this Apr 1, 2026
@habara-k habara-k reopened this Apr 1, 2026
@habara-k habara-k self-assigned this Apr 1, 2026
@habara-k habara-k force-pushed the wrapper-of-issue-stateless-channel-token branch 2 times, most recently from ecc9228 to 5284e3a Compare April 2, 2026 07:28
@habara-k habara-k force-pushed the wrapper-of-issue-stateless-channel-token branch from 5284e3a to b54c301 Compare April 2, 2026 07:40
@habara-k habara-k added this pull request to the merge queue Apr 3, 2026
Merged via the queue into master with commit 33a5483 Apr 3, 2026
24 checks passed
@habara-k habara-k deleted the wrapper-of-issue-stateless-channel-token branch April 3, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If all fields required when I issue stateless channel token

2 participants